package adv8;

public class Product {
	private long itemno;
	private String factoryadd, name, unit;
	private double price;
	private int stockcount;
	private boolean discount;

	public Product() {

	}

	public Product(long itemno, String factoryadd, String name, String unit, double price, int stockcount,
			boolean discount) {
		super();
		this.itemno = itemno;
		this.factoryadd = factoryadd;
		this.name = name;
		this.unit = unit;
		this.price = price;
		this.stockcount = stockcount;
		this.discount = discount;
	}

	public long getItemno() {
		return itemno;
	}

	public void setItemno(long itemno) {
		this.itemno = itemno;
	}

	public String getFactoryadd() {
		return factoryadd;
	}

	public void setFactoryadd(String factoryadd) {
		this.factoryadd = factoryadd;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public int getStockcount() {
		return stockcount;
	}

	public void setStockcount(int stockcount) {
		this.stockcount = stockcount;
	}

	public boolean isDiscount() {
		return discount;
	}

	public void setDiscount(boolean discount) {
		this.discount = discount;
	}

}
